package net.bracode.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class Participant extends Person {
	
	private List<Registration> registrations;
	private BigDecimal pay;

	public Participant(){
		registrations = new ArrayList<>();
	}
	
	public BigDecimal getPay() {
		return pay;
	}
	
	public void addPay(BigDecimal value){
		this.pay.add(value);
	}
	
	public void setRegistrations(List<Registration> registrations) {
		this.registrations = registrations;
	}
	
	public List<Registration> getRegistrations() {
		return registrations;
	}
	
}
